package com.sxl.chapter.six;

public class TestClass {
	
	private int m;
	
	public int inc() {
		
		int x;
		try {
			x = 1;
//			throw new Exception();
			return x;
		}catch (Exception e) {
			x = 2;
			return x;
		} finally {
			x = 3;
			return x;
		}
		
		
//		return m+1;
	}
	public  static void main(String args[]) {
		
		int a =11;
		int b = 22;
		int c = 33;
		
		TestClass tc = new TestClass();
		System.out.println(tc.inc());
	}
}
